<div class="module-pass-dialog">
  <div class="modal-header">
    <h4>身份证审核历史</h4>
  </div>
  <div class="modal-body personalinfo-body">
    <table class="table table-striped table-hover table-bordered">
      <thead>
        <tr>
          <th width="6.5%">提交审核时间</th>
          <th width="3%">用户UID</th>
          <th width="8%">身份证</th>
          <th width="6.5%">完成时间</th>
          <th width="10%">拒绝原因</th>
          <th width="10%">拒绝理由</th>
          <th width="3%">状态</th>
        </tr>
      </thead>
      <tbody>
        <tr ng-repeat="item in vm.historyList" ng-if="vm.isLoadingList === false && vm.historyList.length > 0">
          <td>{{$root.moment(item.applyTime).utc().utcOffset($root.ZONE).format('YYYY-MM-DD HH:mm:ss')}}</td>
          <td>{{item.uid}}</td>
          <td>{{item.cardNo}}</td>
          <td>{{item.auditTime == item.applyTime ? '' :
            $root.moment(item.auditTime).utc().utcOffset($root.ZONE).format('YYYY-MM-DD HH:mm:ss')}}</td>
          <td>{{item.messageId == '0' ? '' : vm.textReturn(item.messageId)}}</td>
          <td>{{item.message}}</td>
          <td ng-class="{redtradedetail:item.auditStatus == 'FAIL',
          greentradedetail:item.auditStatus == 'OK',
          bluetradedetail:item.auditStatus == 'INIT'
            }">
            {{item.auditStatus == "FAIL" ? '审核拒绝' : item.auditStatus == "OK" ? '审核通过' : '正在审核'}}
          </td>
        </tr>
        <tr class="ui-no-data" ng-if="vm.isLoadingList === false && (!vm.historyList||vm.historyList.length === 0)">
          <td colspan="7">暂无数据</td>
        </tr>
        <tr class="ui-loading" ng-if="vm.isLoadingList === true">
          <td colspan="7">正在加载，请稍候...</td>
        </tr>
      </tbody>
    </table>
  </div>
  <div class="modal-footer">
    <button type="button" class="btn btn-default" ng-click="$$cancel()">取消</button>
  </div>
</div>